package university;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.*;
/**
 * Class that describes practical studies
 * @author anatolii.bondarenko
 */
class PracticalClass extends AuditoriumClass {
    /**
     * Details of practical lesson
     * @param d is discipline
     * @param gr is group that will be at this practical lesson
     * @param ev is time and place for this practical lesson
     */
    public PracticalClass(Discipline d, Group gr, LessonEvent ev){
		super(d, gr, ev);
	}

    /**
     * Get details of practical lesson in string format
     * @return Details of practical lesson
     */
    @Override
    public String toString(){
		return super.getDiscipline().getDisciplineName() + ". Teaher " + super.getDiscipline().getTeacher().getName() + ". Practical Class.";
	}
}

